package Others.DesignPattern.ObserverPattern.Original.Object;

import lombok.*;


@Data
@AllArgsConstructor
@NoArgsConstructor
public class ColleagueA {

    private String name;
    private Proscenium proscenium;


    public void update()
    {
        System.out.println(proscenium.getMessage() + name + " 关闭股票，继续工作！ ");
    }

}
